{% extends "base.html" %}

{% block title %}password reset{% endblock %}

{% block content %}
<div class="row text-center vertical-middle-sm">
    <h1>忘记密码了吗？</h1>
    <p>输入您注册时使用的电子邮件以设置新密码。</p>
    <form action="." class="form-horizontal" method="post">
        {% csrf_token %}
        <div class="form-group">
            <label class="col-md-5 control-label text-right">电子邮件地址</label>
            <div class="col-md-6 text-left">{{ form.email }}</div>
        </div>
        <input type="submit" value="发送电子邮件" class="btn-primary btn-lg">
        <p style="margin-top:10px">没有忘记密码<a href="{% url 'account:user_login' %}">返回登录</a></p>
    </form>
</div>
{% endblock %}